package com.woniuxueyuan.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserCart {
    private Integer id;
    private Integer buyNum;
    private BigDecimal buyPrice; //单价
    private BigDecimal totalPrice; //总价格
    private Integer userId;
    private String createTime;
    private Integer bookId;
    private Integer status; //已下单 未下单
    private String imgSrc;  //没有看前端写一样的
    private String name;


    private Integer storeCount; //库存
    private  BigDecimal price; //最新价格
}
